Array.myIsArray = function (obj) {
    return Object.prototype.toString.call(obj) === "[object Array]"
}

console.log(Array.myIsArray([]))